<!DOCTYPE html>

<html>

<head>
    <title></title>
    <script src='../vue.js'></script>
</head>

<body>
    <div id="app-1">
        <h4 v-show="ok">Hello Chen</h4>
        <!-- v-show只是简单地将display属性设置为none，同时v-show不支持template标签 -->
    </div>
    <script>
        var app1 = new Vue({
            el: '#app-1',
            data: {
                ok: true
            }
        });
    </script>
</body>


</html>